package com.ews.onlineexchange.app.entity;

import java.io.Serializable;


public class TempQualificationLevel implements Serializable {
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	
	private String 					id;
//	private TempQualificationClass qualificationClass;
	private String	name;
	private Integer	value;
	
	
	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

//	public TempQualificationClass getQualificationClass() {
//		return qualificationClass;
//	}
//
//	public void setQualificationClass(TempQualificationClass qualificationClass) {
//		this.qualificationClass = qualificationClass;
//	}


	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Integer getValue() {
		return value;
	}

	public void setValue(Integer value) {
		this.value = value;
	}
	
	

//	@Transient
//	public String getAvailableNames() {
//		List<TempQualificationLevel> lvls = getQualificationClass().getSortedLevelOptions();
//		StringBuilder sb = new StringBuilder();
//		for (TempQualificationLevel _lvl : lvls) {
//			if (_lvl.getValue() <= this.getValue())
//				sb	.append(_lvl.getName())
//					.append(",");
////			else
////				break;
//		}
//		if (sb.length() == 0)
//			return null;
//		return sb.substring(0, sb.length() - 1);
//	}

}
